package com.xnyzc.lhy.mis.service.punishment;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.punishment.OaDUserPenaltyAddParam;
import com.xnyzc.lhy.mis.entity.param.punishment.OaDUserPenaltyImportParam;
import com.xnyzc.lhy.mis.entity.punishment.OaDUserPunishment;

import java.util.List;

/**
 * <p>
 * 司机处罚内容表 服务类
 * </p>
 *
 * @author cuixiaojian
 * @since 2019-10-27
 */
public interface IOaDUserPunishmentService extends IService<OaDUserPunishment> {
    /**
     * 添加司机处罚
     * */
    Rv addDriverPenaltyList(List<OaDUserPenaltyAddParam> oaDUserPenaltyAddParams);

    /**
     * 批量导入处罚信息
     **/
    Rv importDriverPenaltyList(List<OaDUserPenaltyImportParam> oaDUserPenaltyImportParam);
}
